package com.aizhixin.lab.project.course.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Temporal;
import java.util.Date;

@Data
public class StuInfoDomain {

    @ApiModelProperty(value="学生信息id")
    private String id;
    @ApiModelProperty(value="学号")
    private String jobNum;
    @ApiModelProperty(value="班级名称")
    private String className;
    @ApiModelProperty(value="学生id")
    private Long stuId;
    @ApiModelProperty(value="学生名称")
    private String stuName;
    @ApiModelProperty(value="教学班id")
    private String projectClassId;


    /**
     * 提交时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Temporal(javax.persistence.TemporalType.TIMESTAMP)
    @ApiModelProperty(value="提交时间")
    private Date commitTime;
    @ApiModelProperty(value="任务状态")
    private String taskStatus;
    @ApiModelProperty(value="作业审批结果")
    private String result;
    @ApiModelProperty(value="具体分数")
    private String grade;
    @ApiModelProperty(value="审批时间")
    private Date batchTime;
    @ApiModelProperty(value="评语")
    private String comment;
}
